.classify-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-start;
    align-items: center;
    margin-left: 14.4%;
    margin-top: 1%;
    font-size: 15px;
    
}

.custom-button {
    background-color: #fff;
    border: none;
    padding: 8px 12px;
    margin: 4px;
    cursor: pointer;
    border-radius: 7px;
    transition: background-color 0.3s ease;
    border: 1px solid #ccc;
}

.custom-button:hover {
    background-color: #e0e0e0;
}

.popup {
    border: 1px solid #ccc;
    background-color: white;
    padding: 10px;
    border-radius: 10px;
    box-shadow: 0 0 5px rgba(0, 0, 0, 0.2);
    position: absolute;
    top: 105%;
    left: 14.8%;
    display: flex;
    flex-direction: column;
    width: 80%;
    animation: popupFadeIn 0.2s ease-out;
   
}

@keyframes popupFadeIn {
    from {
        opacity: 0;
        transform: translateY(-15px);
        /* 从上方 20px 开始，向下移动 */
    }

    to {
        opacity: 1;
        transform: translateY(0);
        /* 移动到原始位置 */
    }
}

.category-item {
    display: flex;
    margin-bottom: 7px;
    margin-top: 7px;
    position: relative; // 新增，为更多按钮提供定位参考
}

.category-title {
    font-weight: bold;
    width: 120px;
    flex-shrink: 0;
}

.category-content {
    display: flex;
    flex-wrap: wrap;
}

.item {
    margin-left: 10px;
    font-weight: 300;
    margin-right: 10px;
    margin-bottom: 4px;
    transition: background-color 0.3s ease;
    cursor: pointer;
    border-radius: 4px;
}

.item:hover {
    background-color: #e0e0e0;
}

.hr {
    margin-top: 10px;
    margin-bottom: 15px;
}

.more-span {
    position: absolute; // 绝对定位，相对于 category-item
    right: 10px;
    top: 0; // 调整为顶部对齐
    width: auto;
    display: flex;
    cursor: pointer;
    font-weight: 300;
}